<!DOCTYPE html>
<html>
<head>
	<title>删除结点</title>
</head>
<body>
<div class="app">
	<h1>1</h1>
	<h2>2</h2>
	<h3>3</h3>
	<h4>4</h4>
</div>

<script type="text/javascript">
	
// removeChild
var app = document.getElementsByTagName('h1')[0];
app.parentNode.removeChild(app);

</script>
</body>
</html>